package com.qq.BFMRSE.Cache;

public class indexCache {
	private String  key;
	private Object value;
	private long timeout;//更新时间
	private boolean expired;//是否终止
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public Object getValue() {
		return value;
	}
	public void setValue(Object value) {
		this.value = value;
	}
	public long getTimeout() {
		return timeout;
	}
	public void setTimeout(long timeout) {
		this.timeout = timeout;
	}
	public boolean isExpired() {
		return expired;
	}
	public void setExpired(boolean expired) {
		this.expired = expired;
	}
	public indexCache(String key,Object value,long timeout,boolean expired){
		this.key=key;
		this.value=value;
		this.timeout=timeout;
		this.expired=expired;
	}
	public indexCache(){}
	

}
